package com.alibaba.algo.components.permission.commons;

public class GlobalResultStatus {
	public static final ResultStatus SUCCESS = new ResultStatus(0, "成功");
	public static final ResultStatus REQUEST_METHOD_ERROR = new ResultStatus(100000, "请求方式错误");
	public static final ResultStatus REQUEST_URL_ERROR = new ResultStatus(100001, "请求URL错误");
	public static final ResultStatus REQUEST_SCHEME_ERROR = new ResultStatus(100002, "请求Shema错误");
	public static final ResultStatus AUTH_MISSING = new ResultStatus(100003, "缺少授权信息");
	public static final ResultStatus TIMESTAMP_EXPIRED = new ResultStatus(100004, "时间戳过期");
	public static final ResultStatus SIGNATURE_ERROR = new ResultStatus(100005, "签名错误");
	public static final ResultStatus ACCESS_TOKEN_ERROR = new ResultStatus(100006, "token错误");
	public static final ResultStatus APPID_ERROR = new ResultStatus(100007, "appId错误");
	public static final ResultStatus NONCE_ERROR = new ResultStatus(100008, "nonce已存在，请勿重复使用");
}
